<template>
  <div ref="orginIndex" :style="{minHeight: clientHeight+'px'}" class="origin-index">
    <router-view></router-view>
  </div>
</template>

<script src="./public/layui/layui.js"></script>
<script>
import bus from './public/bus.js'

export default {
  name: "app",
  components: {},
  data() {
    return {
      clientHeight: ""
    };
  },

  methods: {
    initHeight() {
      //获取浏览器可视区域高度
      this.clientHeight = document.documentElement.clientHeight;
    }
  }
};
</script>

<style  lang="less" scoped>
.origin-index {
  width: 100%;
  height: 100vh;
  position: relative;
}
</style>
